package com.cn.jinl.domain;

import java.util.ArrayList;
import java.util.List;

public class LinePeiBanExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public LinePeiBanExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andPeiIdIsNull() {
            addCriterion("pei_id is null");
            return (Criteria) this;
        }

        public Criteria andPeiIdIsNotNull() {
            addCriterion("pei_id is not null");
            return (Criteria) this;
        }

        public Criteria andPeiIdEqualTo(String value) {
            addCriterion("pei_id =", value, "peiId");
            return (Criteria) this;
        }

        public Criteria andPeiIdNotEqualTo(String value) {
            addCriterion("pei_id <>", value, "peiId");
            return (Criteria) this;
        }

        public Criteria andPeiIdGreaterThan(String value) {
            addCriterion("pei_id >", value, "peiId");
            return (Criteria) this;
        }

        public Criteria andPeiIdGreaterThanOrEqualTo(String value) {
            addCriterion("pei_id >=", value, "peiId");
            return (Criteria) this;
        }

        public Criteria andPeiIdLessThan(String value) {
            addCriterion("pei_id <", value, "peiId");
            return (Criteria) this;
        }

        public Criteria andPeiIdLessThanOrEqualTo(String value) {
            addCriterion("pei_id <=", value, "peiId");
            return (Criteria) this;
        }

        public Criteria andPeiIdLike(String value) {
            addCriterion("pei_id like", value, "peiId");
            return (Criteria) this;
        }

        public Criteria andPeiIdNotLike(String value) {
            addCriterion("pei_id not like", value, "peiId");
            return (Criteria) this;
        }

        public Criteria andPeiIdIn(List<String> values) {
            addCriterion("pei_id in", values, "peiId");
            return (Criteria) this;
        }

        public Criteria andPeiIdNotIn(List<String> values) {
            addCriterion("pei_id not in", values, "peiId");
            return (Criteria) this;
        }

        public Criteria andPeiIdBetween(String value1, String value2) {
            addCriterion("pei_id between", value1, value2, "peiId");
            return (Criteria) this;
        }

        public Criteria andPeiIdNotBetween(String value1, String value2) {
            addCriterion("pei_id not between", value1, value2, "peiId");
            return (Criteria) this;
        }

        public Criteria andBanNameIsNull() {
            addCriterion("ban_name is null");
            return (Criteria) this;
        }

        public Criteria andBanNameIsNotNull() {
            addCriterion("ban_name is not null");
            return (Criteria) this;
        }

        public Criteria andBanNameEqualTo(String value) {
            addCriterion("ban_name =", value, "banName");
            return (Criteria) this;
        }

        public Criteria andBanNameNotEqualTo(String value) {
            addCriterion("ban_name <>", value, "banName");
            return (Criteria) this;
        }

        public Criteria andBanNameGreaterThan(String value) {
            addCriterion("ban_name >", value, "banName");
            return (Criteria) this;
        }

        public Criteria andBanNameGreaterThanOrEqualTo(String value) {
            addCriterion("ban_name >=", value, "banName");
            return (Criteria) this;
        }

        public Criteria andBanNameLessThan(String value) {
            addCriterion("ban_name <", value, "banName");
            return (Criteria) this;
        }

        public Criteria andBanNameLessThanOrEqualTo(String value) {
            addCriterion("ban_name <=", value, "banName");
            return (Criteria) this;
        }

        public Criteria andBanNameLike(String value) {
            addCriterion("ban_name like", value, "banName");
            return (Criteria) this;
        }

        public Criteria andBanNameNotLike(String value) {
            addCriterion("ban_name not like", value, "banName");
            return (Criteria) this;
        }

        public Criteria andBanNameIn(List<String> values) {
            addCriterion("ban_name in", values, "banName");
            return (Criteria) this;
        }

        public Criteria andBanNameNotIn(List<String> values) {
            addCriterion("ban_name not in", values, "banName");
            return (Criteria) this;
        }

        public Criteria andBanNameBetween(String value1, String value2) {
            addCriterion("ban_name between", value1, value2, "banName");
            return (Criteria) this;
        }

        public Criteria andBanNameNotBetween(String value1, String value2) {
            addCriterion("ban_name not between", value1, value2, "banName");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNull() {
            addCriterion("start_time is null");
            return (Criteria) this;
        }

        public Criteria andStartTimeIsNotNull() {
            addCriterion("start_time is not null");
            return (Criteria) this;
        }

        public Criteria andStartTimeEqualTo(String value) {
            addCriterion("start_time =", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotEqualTo(String value) {
            addCriterion("start_time <>", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThan(String value) {
            addCriterion("start_time >", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeGreaterThanOrEqualTo(String value) {
            addCriterion("start_time >=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThan(String value) {
            addCriterion("start_time <", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLessThanOrEqualTo(String value) {
            addCriterion("start_time <=", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeLike(String value) {
            addCriterion("start_time like", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotLike(String value) {
            addCriterion("start_time not like", value, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeIn(List<String> values) {
            addCriterion("start_time in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotIn(List<String> values) {
            addCriterion("start_time not in", values, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeBetween(String value1, String value2) {
            addCriterion("start_time between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andStartTimeNotBetween(String value1, String value2) {
            addCriterion("start_time not between", value1, value2, "startTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNull() {
            addCriterion("end_time is null");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNotNull() {
            addCriterion("end_time is not null");
            return (Criteria) this;
        }

        public Criteria andEndTimeEqualTo(String value) {
            addCriterion("end_time =", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotEqualTo(String value) {
            addCriterion("end_time <>", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThan(String value) {
            addCriterion("end_time >", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThanOrEqualTo(String value) {
            addCriterion("end_time >=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThan(String value) {
            addCriterion("end_time <", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThanOrEqualTo(String value) {
            addCriterion("end_time <=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLike(String value) {
            addCriterion("end_time like", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotLike(String value) {
            addCriterion("end_time not like", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIn(List<String> values) {
            addCriterion("end_time in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotIn(List<String> values) {
            addCriterion("end_time not in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeBetween(String value1, String value2) {
            addCriterion("end_time between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotBetween(String value1, String value2) {
            addCriterion("end_time not between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andCollectTimeIsNull() {
            addCriterion("collect_time is null");
            return (Criteria) this;
        }

        public Criteria andCollectTimeIsNotNull() {
            addCriterion("collect_time is not null");
            return (Criteria) this;
        }

        public Criteria andCollectTimeEqualTo(String value) {
            addCriterion("collect_time =", value, "collectTime");
            return (Criteria) this;
        }

        public Criteria andCollectTimeNotEqualTo(String value) {
            addCriterion("collect_time <>", value, "collectTime");
            return (Criteria) this;
        }

        public Criteria andCollectTimeGreaterThan(String value) {
            addCriterion("collect_time >", value, "collectTime");
            return (Criteria) this;
        }

        public Criteria andCollectTimeGreaterThanOrEqualTo(String value) {
            addCriterion("collect_time >=", value, "collectTime");
            return (Criteria) this;
        }

        public Criteria andCollectTimeLessThan(String value) {
            addCriterion("collect_time <", value, "collectTime");
            return (Criteria) this;
        }

        public Criteria andCollectTimeLessThanOrEqualTo(String value) {
            addCriterion("collect_time <=", value, "collectTime");
            return (Criteria) this;
        }

        public Criteria andCollectTimeLike(String value) {
            addCriterion("collect_time like", value, "collectTime");
            return (Criteria) this;
        }

        public Criteria andCollectTimeNotLike(String value) {
            addCriterion("collect_time not like", value, "collectTime");
            return (Criteria) this;
        }

        public Criteria andCollectTimeIn(List<String> values) {
            addCriterion("collect_time in", values, "collectTime");
            return (Criteria) this;
        }

        public Criteria andCollectTimeNotIn(List<String> values) {
            addCriterion("collect_time not in", values, "collectTime");
            return (Criteria) this;
        }

        public Criteria andCollectTimeBetween(String value1, String value2) {
            addCriterion("collect_time between", value1, value2, "collectTime");
            return (Criteria) this;
        }

        public Criteria andCollectTimeNotBetween(String value1, String value2) {
            addCriterion("collect_time not between", value1, value2, "collectTime");
            return (Criteria) this;
        }

        public Criteria andTimeTargetIsNull() {
            addCriterion("time_target is null");
            return (Criteria) this;
        }

        public Criteria andTimeTargetIsNotNull() {
            addCriterion("time_target is not null");
            return (Criteria) this;
        }

        public Criteria andTimeTargetEqualTo(String value) {
            addCriterion("time_target =", value, "timeTarget");
            return (Criteria) this;
        }

        public Criteria andTimeTargetNotEqualTo(String value) {
            addCriterion("time_target <>", value, "timeTarget");
            return (Criteria) this;
        }

        public Criteria andTimeTargetGreaterThan(String value) {
            addCriterion("time_target >", value, "timeTarget");
            return (Criteria) this;
        }

        public Criteria andTimeTargetGreaterThanOrEqualTo(String value) {
            addCriterion("time_target >=", value, "timeTarget");
            return (Criteria) this;
        }

        public Criteria andTimeTargetLessThan(String value) {
            addCriterion("time_target <", value, "timeTarget");
            return (Criteria) this;
        }

        public Criteria andTimeTargetLessThanOrEqualTo(String value) {
            addCriterion("time_target <=", value, "timeTarget");
            return (Criteria) this;
        }

        public Criteria andTimeTargetLike(String value) {
            addCriterion("time_target like", value, "timeTarget");
            return (Criteria) this;
        }

        public Criteria andTimeTargetNotLike(String value) {
            addCriterion("time_target not like", value, "timeTarget");
            return (Criteria) this;
        }

        public Criteria andTimeTargetIn(List<String> values) {
            addCriterion("time_target in", values, "timeTarget");
            return (Criteria) this;
        }

        public Criteria andTimeTargetNotIn(List<String> values) {
            addCriterion("time_target not in", values, "timeTarget");
            return (Criteria) this;
        }

        public Criteria andTimeTargetBetween(String value1, String value2) {
            addCriterion("time_target between", value1, value2, "timeTarget");
            return (Criteria) this;
        }

        public Criteria andTimeTargetNotBetween(String value1, String value2) {
            addCriterion("time_target not between", value1, value2, "timeTarget");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andBanUserNameIsNull() {
            addCriterion("ban_user_name is null");
            return (Criteria) this;
        }

        public Criteria andBanUserNameIsNotNull() {
            addCriterion("ban_user_name is not null");
            return (Criteria) this;
        }

        public Criteria andBanUserNameEqualTo(String value) {
            addCriterion("ban_user_name =", value, "banUserName");
            return (Criteria) this;
        }

        public Criteria andBanUserNameNotEqualTo(String value) {
            addCriterion("ban_user_name <>", value, "banUserName");
            return (Criteria) this;
        }

        public Criteria andBanUserNameGreaterThan(String value) {
            addCriterion("ban_user_name >", value, "banUserName");
            return (Criteria) this;
        }

        public Criteria andBanUserNameGreaterThanOrEqualTo(String value) {
            addCriterion("ban_user_name >=", value, "banUserName");
            return (Criteria) this;
        }

        public Criteria andBanUserNameLessThan(String value) {
            addCriterion("ban_user_name <", value, "banUserName");
            return (Criteria) this;
        }

        public Criteria andBanUserNameLessThanOrEqualTo(String value) {
            addCriterion("ban_user_name <=", value, "banUserName");
            return (Criteria) this;
        }

        public Criteria andBanUserNameLike(String value) {
            addCriterion("ban_user_name like", value, "banUserName");
            return (Criteria) this;
        }

        public Criteria andBanUserNameNotLike(String value) {
            addCriterion("ban_user_name not like", value, "banUserName");
            return (Criteria) this;
        }

        public Criteria andBanUserNameIn(List<String> values) {
            addCriterion("ban_user_name in", values, "banUserName");
            return (Criteria) this;
        }

        public Criteria andBanUserNameNotIn(List<String> values) {
            addCriterion("ban_user_name not in", values, "banUserName");
            return (Criteria) this;
        }

        public Criteria andBanUserNameBetween(String value1, String value2) {
            addCriterion("ban_user_name between", value1, value2, "banUserName");
            return (Criteria) this;
        }

        public Criteria andBanUserNameNotBetween(String value1, String value2) {
            addCriterion("ban_user_name not between", value1, value2, "banUserName");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}